//
//  NewTmpDiskWindow.h
//  TmpDisk
//
//  Created by Timothy Marks on 10/10/11.
//  Copyright (c) 2011 Ink Scribbles Pty Ltd.
//
//  This file is part of TmpDisk.
//
//  TmpDisk is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  TmpDisk is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with TmpDisk.  If not, see <http://www.gnu.org/licenses/>.

#import <Foundation/Foundation.h>

#import "TmpDiskManager.h"

@interface NewTmpDiskWindow : NSObject {
  
  NSMutableArray *autoFolders;
  
  IBOutlet NSTextField *diskNameLabel;
  IBOutlet NSTextField *diskSizeLabel;
  
  IBOutlet NSTextField *diskName;
  
  IBOutlet NSStepper *diskSize;
  IBOutlet NSTextField *sizeLabel;
  IBOutlet NSButton *diskAutoCreate;
  IBOutlet NSButton *diskIndex;
  IBOutlet NSButton *diskHide;
  
  IBOutlet NSButton *addFolder;
  IBOutlet NSButton *createDisk;
  
  IBOutlet NSButton *advancedMode;
  
  IBOutlet NSProgressIndicator *spinner;
}

@property (strong) IBOutlet NSWindow *window;

- (IBAction)autoCreateSet:(id)sender;
- (IBAction)sizeDidChange:(id)sender;
- (IBAction)addAutoFolder:(id)sender;
- (IBAction)removeAutoFolder:(id)sender;
- (IBAction)createTmpDisk:(id)sender;

- (IBAction)toggleAdvancedMode:(id)sender;

@end
